import ts from 'typescript';

const DEFAULT_COMPILER_OPTIONS: ts.CompilerOptions = {
  declaration: true,
  noEmitHelpers: false,
};

export function formatCompilerOptions(options: ts.CompilerOptions) {
  return {
    ...DEFAULT_COMPILER_OPTIONS,
    ...options,
  };
}
